package com.th.supcom.pds.config.client.service;

import java.util.List;

import com.google.gwt.user.client.rpc.AsyncCallback;
import com.th.supcom.pds.config.client.model.PhamMachineConfigModel;

/**
 * PhamMachineConfig 异步接口.
 * 
 * 药房机器属性配置.
 */
public interface PhamMachineConfigRpcAsync
{
    /** 公司版权信息. */
    public static final String copyright = "Copyright 2014, TH Supcom Corporation";

    /** 提交路径. */
    public static final String SCC_BRANCH = "$URL$";

    /** 提交日期. */
    public static final String SCC_LAST_MODIFICATION_DATE = "$Date$";

    /** 最终修改人员. */
    public static final String SCC_LAST_MODIFIER_NAME = "$Author$";

    /** 最终版本号. */
    public static final String SCC_REVISION = "$Revision$";

    void addPhamMachineConfig (PhamMachineConfigModel model, AsyncCallback <Void> callback);

    void findPhamMachineConfigByExample (PhamMachineConfigModel model, AsyncCallback <List <PhamMachineConfigModel>> callback);

    void getPhamMachineConfigById (Long id, AsyncCallback <PhamMachineConfigModel> callback);

    void getPinYinCode (String value, AsyncCallback <String> callback);

    void modifyPhamMachineConfig (PhamMachineConfigModel model, AsyncCallback <Void> callback);

    void modifyPhamMachineConfigByExample (PhamMachineConfigModel model, AsyncCallback <Void> callback);

    void removePhamMachineConfig (Long id, AsyncCallback <Void> callback);
}